import {GET_DICT_ITEMS} from "@/api/system/dict";
import {requestGet} from "@/until/means/request";

const getDictByConde = dictCode => {
    return new Promise((resolve, reject) => {
        requestGet({url:`${GET_DICT_ITEMS}${dictCode}`}).then(res => {
            resolve(res)
        }).catch(err => {
            reject(err)
        })
    })
}

export {getDictByConde}
